package com.bjsxt.livegoods.dao.order;

import com.bjsxt.livegoods.entity.Order;
import org.springframework.data.mongodb.core.query.Query;
import org.springframework.data.mongodb.core.query.Update;

import java.util.List;

//订单数据访问接口
public interface OrderDao {
    void insertOrder(Order order);
    //查询订单
    List<Order> findOrders(Query query);
    //更新订单
    void updateOrder(Query query, Update update);
}
